import { functionCommon, requestCommon } from "@whzhuke/common"

export default {
  list: (params: any) => {
    return requestCommon.get<any>({
      url: `${functionCommon.requestHost("api")}/v1/m/contracts/repertory/inventory`,
      params
    })
  }, //获取库存申报分页列表
  inventory: (params: any) => {
    return requestCommon.postJson<any>({
      url: `${functionCommon.requestHost("api")}/v1/m/contracts/repertory/inventory`,
      params
    })
  } //库存申报
}
